package com.wanma.recuit.mapper;

import com.wanma.recuit.pojo.CompanyUser;
import com.wanma.recuit.pojo.Job;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Job record);

    int insertSelective(Job record);

    Job selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Job record);

    int updateByPrimaryKey(Job record);
    List<Job> findJob1(@Param("companyUser") CompanyUser companyUser);

    List<Job> selectlatestList();
    List<Job> selectList(Job job);
    void creat(Job job);
}